Update module github.com/approvals/go-approval-tests to v1.6.0 #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.2.0
->v1.6.0
Release Notes
approvals/go-approval-tests (github.com/approvals/go-approval-tests)
v1.6.0
: Breaking Change - Ensure Approve Files end with a newlineCompare Source
v1.6.0 - This is a breaking change
Most, if not all, of your approved files will fail after upgrading to this version.
This is because approval files now expect to have a newline (
\n
) at the end of the file.Upgrade Path
We suggest:
go-approval-tests
v1.5.1
: Fix missing directory errorCompare Source
fixes #49
v1.5.0
: Options().ForFile().WithAdditionalInformation(value)Compare Source
This allows multiple approved files per test.
More info here
v1.4.0
: remove_abandoned_files.py scriptCompare Source
Full Changelog: approvals/go-approval-tests@v1.3.0...v1.4.0
v1.3.0
: Failed comparison log and approve_all script.Compare Source
Full Changelog: approvals/go-approval-tests@v1.2.1...v1.3.0
v1.2.1
: Temp directory includes a .gitignoreCompare Source
Took away the need to change your .gitignore because of the temp directory
Full Changelog: approvals/go-approval-tests@v1.2.0...v1.2.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.